package club.kingyin.easycache.exception;

/**
 * 序列化异常
 */
public class SerializeException extends RuntimeException {

    public SerializeException() {
        super();
    }

    public SerializeException(String message) {
        super(message);
    }

    // 用指定的详细信息和原因构造一个新的异常
    public SerializeException(String message, Throwable cause){
        super(message,cause);
    }

    //用指定原因构造一个新的异常
    public SerializeException(Throwable cause) {
        super(cause);
    }

}
